//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Straight No Chaser','Imperial Theatre - Ontario','Sarnia, Canada','Wednesday','5/1/2024','8:00 PM','6254631','Straight-No-Chaser-5-1-2024'],['Straight No Chaser','OLG Stage At Niagara Fallsview Casino Resort','Niagara Falls, Canada','Thursday','5/2/2024','8:30 PM','6254026','Straight-No-Chaser-5-2-2024'],['Straight No Chaser','Algonquin College Commons Theatre','Nepean, Canada','Friday','5/3/2024','8:00 PM','6254003','Straight-No-Chaser-5-3-2024'],['Straight No Chaser','Merrill Auditorium','Portland, ME','Saturday','5/4/2024','7:30 PM','6254012','Straight-No-Chaser-5-4-2024'],['Straight No Chaser','Capitol Center For The Arts - NH','Concord, NH','Sunday','5/5/2024','7:00 PM','6254018','Straight-No-Chaser-5-5-2024'],['Straight No Chaser','MTelus','Montreal, Canada','Tuesday','5/7/2024','8:00 PM','6253968','Straight-No-Chaser-5-7-2024'],['Straight No Chaser','Molson Canadian Centre at Casino New Brunswick','Moncton, Canada','Thursday','5/9/2024','8:00 PM','6270451','Straight-No-Chaser-5-9-2024'],['Straight No Chaser','Casino Nova Scotia','Halifax, Canada','Friday','5/10/2024','8:00 PM','6267571','Straight-No-Chaser-5-10-2024'],['Straight No Chaser','Flynn Center for the Performing Arts','Burlington, VT','Sunday','5/12/2024','8:00 PM','6254195','Straight-No-Chaser-5-12-2024'],['Straight No Chaser','City National Grove of Anaheim','Anaheim, CA','Friday','7/12/2024','8:00 PM','6298529','Straight-No-Chaser-7-12-2024'],['Straight No Chaser','Mountain Winery','Saratoga, CA','Saturday','7/13/2024','7:30 PM','6283825','Straight-No-Chaser-7-13-2024'],['Straight No Chaser','Blue Note Summer Sessions at Meritage Resort','Napa, CA','Sunday','7/14/2024','7:00 PM','6278129','Straight-No-Chaser-7-14-2024'],['Straight No Chaser','Fox Performing Arts Center','Riverside, CA','Tuesday','7/16/2024','7:00 PM','6278861','Straight-No-Chaser-7-16-2024'],['Straight No Chaser','Pepsi Amphitheatre at Fort Tuthill','Flagstaff, AZ','Wednesday','7/17/2024','7:00 PM','6276752','Straight-No-Chaser-7-17-2024'],['Straight No Chaser','Kenley Amphitheater','Layton, UT','Thursday','7/18/2024','8:00 PM','6278548','Straight-No-Chaser-7-18-2024'],['Straight No Chaser','Vilar Performing Arts Center','Avon, CO','Friday','7/19/2024','7:00 PM','6278709','Straight-No-Chaser-7-19-2024'],['Straight No Chaser','Chautauqua Auditorium','Boulder, CO','Saturday','7/20/2024','7:30 PM','6279690','Straight-No-Chaser-7-20-2024'],['Straight No Chaser','The Astro Amphitheater','La Vista, NE','Sunday','7/21/2024','7:30 PM','6278120','Straight-No-Chaser-7-21-2024'],['Straight No Chaser','The Ledge Waite Park Amphitheater','Waite Park, MN','Tuesday','7/23/2024','7:30 PM','6278127','Straight-No-Chaser-7-23-2024'],['Straight No Chaser','Symphony Hall At DECC','Duluth, MN','Wednesday','7/24/2024','7:00 PM','6278128','Straight-No-Chaser-7-24-2024'],['Straight No Chaser','The Factory - Chesterfield','St. Louis, MO','Friday','7/26/2024','7:30 PM','6278987','Straight-No-Chaser-7-26-2024'],['Straight No Chaser','Iroquois Amphitheater','Louisville, KY','Saturday','7/27/2024','7:30 PM','6278349','Straight-No-Chaser-7-27-2024'],['Straight No Chaser','Devon Lakeshore Amphitheater','Decatur, IL','Sunday','7/28/2024','7:00 PM','6278551','Straight-No-Chaser-7-28-2024'],['Straight No Chaser','The Rose Music Center at The Heights','Dayton, OH','Tuesday','7/30/2024','7:30 PM','6278354','Straight-No-Chaser-7-30-2024'],['Straight No Chaser','Blue Gate Performing Arts Center','Shipshewana, IN','Wednesday','7/31/2024','7:30 PM','6278293','Straight-No-Chaser-7-31-2024'],['Straight No Chaser','St. Augustine Amphitheatre','St. Augustine, FL','Friday','8/2/2024','7:30 PM','6278308','Straight-No-Chaser-8-2-2024'],['Straight No Chaser','Pompano Beach Amphitheatre','Pompano Beach, FL','Saturday','8/3/2024','8:00 PM','6278303','Straight-No-Chaser-8-3-2024'],['Straight No Chaser','The Sound at Coachman Park','Clearwater, FL','Sunday','8/4/2024','7:30 PM','6278302','Straight-No-Chaser-8-4-2024'],['Straight No Chaser','Peace Concert Hall At The Peace Center - SC','Greenville, SC','Tuesday','8/6/2024','7:30 PM','6278385','Straight-No-Chaser-8-6-2024'],['Straight No Chaser','Cape Fear Community College's Wilson Center','Wilmington, NC','Wednesday','8/7/2024','7:30 PM','6279938','Straight-No-Chaser-8-7-2024'],['Straight No Chaser','The Cabot - Cabot Performing Arts Center','Beverly, MA','Friday','8/9/2024','8:00 PM','6278480','Straight-No-Chaser-8-9-2024'],['Straight No Chaser','The Historic Theater at The Music Hall','Portsmouth, NH','Saturday','8/10/2024','8:00 PM','6278317','Straight-No-Chaser-8-10-2024'],['Straight No Chaser','American Music Theatre','Lancaster, PA','Sunday','8/11/2024','7:00 PM','6278111','Straight-No-Chaser-8-11-2024']],'Straight No Chaser','http://www.ticketnetwork.com/ticket/Straight-No-Chaser-events.aspx');